<template>
  <el-form :model="tableCol">
    <el-col
      :span="22"
    ><el-input
      v-model="tableCol.val"
      clearable
      :disabled="type===3||type===4?true:false"
      @change="changeValue"
    /></el-col>
  </el-form>
</template>

<script>
export default {
  name: 'SpecValue',
  props: {
    index: {
      type: Number,
      required: true
    },
    tableCol: {
      type: Object,
      required: true
    },
    type: {
      type: Number,
      required: true
    }
  },
  /* data() {
    return {
      tableCol: {
        val:''
      }
    }
  },*/
  methods: {
    changeValue() {
      const vm = this
      vm.$emit('changeItemValue')
    }
  }
}
</script>

<style scoped>
</style>
